<?php
namespace Sooc;

class Controller extends \Think\Controller
{
    /**
     * 初始化操作
     * @name: _initialize
     * @return void
     * @author: rickeryu <lhyfe1987@163.com>
     * @time: 2018/2/23 10:53
     */
    public function _initialize(){
        defined('UID') 	    or define('UID', is_login());
    }

}